/*
 *
 *
 */

#include <iostream>
#include "Animation.h"

#ifndef _SMILEY_H_
#define _SMILEY_H_

#define FRAME_TIME 500
#define N_FRAMES 4

using namespace std;

class Smiley : public Animation
{
    private:
        float ax;
        float ay;
        float vx;
        float vy;
        bool show;
        bool alive;
        int initialTime;
        int finalTime;
	
    public:
    
        Smiley(void);
        Smiley(const Smiley &smile);
        Smiley(string fileName,float size,float ax,float ay,float vx,float vy,int x, int y,int initialTime, int finalTime);
        Smiley& operator=(const Smiley &smile);
        ~Smiley(void);
        void render(SDL_Surface *screen);
        void update(int tDelta);
        void setShow(bool show);
        void setAlive(bool alive);
        bool getAlive(void);
        int getInitialTime(void);
        int getFinalTime(void);
};

#endif
